<?php /* Smarty version 2.6.26, created on 2018-07-25 14:31:04
         compiled from E:%5CWWW%5C40.125.208.171%5Cvweb/member%5Ctemplates/spread/index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'import', 'E:\\WWW\\40.125.208.171\\vweb/member\\templates/spread/index.html', 1, false),)), $this); ?>
<?php echo $this->_plugins['function']['import'][0][0]->import(array('file' => "index/header.html",'title' => "分销列表"), $this);?>
 
<style type="text/css">
table{ } 
table tr th{ font-size:12px; padding:8px 0 6px; } 
table tbody tr th{ color:#000000; }
table tbody tr td{ text-align:center; color:#333; padding:0 0 8px 0;}  
/*提现到账户*/
.sp_price{ width:1030px; padding:0 0 30px 0px; float:left; }
.sp_price .l{ width:180px; float:left; }
.sp_price .l span{ width:220px; color:#666666; padding:19px 10px 0 0; font-size:12px; float:left; }
.sp_price .l h2{ font-size:28px; color:#333; float:left; }
.sp_price .r{ margin:28px 0 0 0; float:right; }
.sp_price .r a{ margin:8px 0 0 20px; float:right; border:1px solid #efefef; background:#f8f8f8; padding:3px 10px;  }
 
.link{ width:100%; float:left; border-top:1px solid #efefef; padding:30px 0 0 0;  }
.linkbox{ padding:0 0 0 20px; border:1px solid #efefef; background:#efefef; margin:0; float:left; }
.linkbox span{ color:#666666; padding:10px 5px 0 0; float:left;  }
.linkbox input{ border:none; padding:10px; } 
</style> 
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "spread/nav.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div class="lbox">
	<div class="sp_price">
		<div class="l">
			<span>昨日预估收入</span>
			<h2><?php echo $this->_tpl_vars['account_price']['yesterday']; ?>
</h2>
		</div>
		<div class="l">
			<span>上月预估收入</span>
			<h2><?php echo $this->_tpl_vars['account_price']['last_month']; ?>
</h2>
		</div>
		<div class="l">
			<span>本月预估收入</span>
			<h2><?php echo $this->_tpl_vars['account_price']['now_month']; ?>
</h2>
		</div>
		<div class="l">
			<span>可用金额</span>
			<h2><?php echo $this->_tpl_vars['disRow']['price']; ?>
</h2> 
		</div> 
		<div class="r">
			<a href="?m=spread&a=withdraw_to_account" class="wd_acc">提现至账户</a>
		</div> 
	</div>
	<div class="link">
		<div class="linkbox">
			<span>推广链接为：</span>
			<input type="text" size="60" id="spread_link_value" value="<?php echo $this->_tpl_vars['UQCMS']['site_url']; ?>
index.php?trackid=<?php echo $this->_tpl_vars['disRow']['id']; ?>
"/>
			<input type="button" id="spread_link" value="复制链接"/>
		</div>
	</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['__PUBLIC__']; ?>
plug/zclip/jquery.zclip.js"></script> 
<script type="text/javascript"> 
	$("#spread_link").zclip({
		path: "<?php echo $this->_tpl_vars['__PUBLIC__']; ?>
plug/zclip/ZeroClipboard.swf",
		copy: function(){
			return $("#spread_link_value").val();
		},
		beforeCopy:function(){	/* 按住鼠标时的操作 */
			$(this).css("color","orange");
		},
		afterCopy:function(){/* 复制成功后的操作 */
			alert('复制成功');
			//var $copysuc = $("<div class='copy-tips'><div class='copy-tips-wrap'>☺ 复制成功</div></div>");
			//$("body").find(".copy-tips").remove().end().append($copysuc);
			//$(".copy-tips").fadeOut(3000);
		}
	});
</script>